package com.dyna.demo.excel.domain.dto;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@HeadRowHeight(value = 20)
public class Student {

    @ExcelProperty(value = {"2024年核心指标", "姓名"}, index = 0)
    private String name;
    @ExcelProperty(value = {"2024年核心指标", "年龄"}, index = 1)
    private Integer age;
    @ExcelProperty(value = {"2024年核心指标", "性别"}, index = 2)
    private String sex;
    @ColumnWidth
    @ExcelProperty(value = {"2024年核心指标", "地址"}, index = 3)
    private String address;
    @ExcelProperty(value = {"2024年核心指标", "学历"}, index = 4)
    private String edu;
    @ExcelProperty(value = {"2024年核心指标", "经验"}, index = 5)
    private String experience;

}